-if logged_in?
  - @remote_draggable = remote_function(:url=>{:action=>'make_draggable_init', :id => @room_view.id})
#preview
  - unless @rooms.size > 0
    %p Il n'y a aucune salle de défini.
  
  #incident_box
    = render :partial => '/incidents/view', :locals => { :incidents => @incidents, :rooms => @rooms }

  #room_view
    - unless @room_view
      %p Cette salle n'existe pas
    - else
      = render :partial => '/rooms/view', :locals => { :room => @room_view }
    %br{ :class => "cleaner" }/

  #all_room
    - @rooms.each do |r|
      = render :partial => '/rooms/mini_room', :locals => { :r => r, :room_view => @room_view }

